import request from '@/utils/request'

// 查询临时任务下发列表
export function listLimsMissionIssuedChild(query) {
  return request({
    url: '/lims/mission/issuedChild/list',
    method: 'get',
    params: query
  })
}

// 查询临时任务下发详细
export function getLimsMissionIssuedChild(michildId) {
  return request({
    url: '/lims/mission/issuedChild/' + michildId,
    method: 'get'
  })
}

export function allot(data) {
  return request({
    url: '/lims/mission/issuedChild/allot',
    method: 'post',
    data: data
  })
}
// 标记完成
export function markOk(ids) {
  return request({
    url: '/lims/mission/issuedChild/markOk/' + ids,
    method: 'get'
  })
}
// 退回运营经理
export function backOwner(data) {
  return request({
    url: '/lims/mission/issuedChild/backOwner',
    method: 'post',
    data: data
  })
}
// 退回调度
export function backActioner(data) {
  return request({
    url: '/lims/mission/issuedChild/backActioner',
    method: 'post',
    data: data
  })
}
